package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.OverflowList;
import com.atguigu.jxc.entity.OverflowListGoods;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OverflowListGoodsDao {
    //保存商品报报溢单
    void saveOverflow(OverflowList overflowList);
    //保存商品报溢单商品
    Boolean saveOverflowListGoods(OverflowListGoods overflowListGoods);
    //查询全部的报溢单
    List<OverflowList> selectList();
    //查询报溢单下边的所有商品
    List<OverflowListGoods> selectGoodsList(Integer overflowListId);
}
